﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="GridView_KeyName.aspx.vb" Inherits="pruebas_GridView_KeyName" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:GridView ID="gvAnimales" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="AnimalId,Sexo,nombre,hierro">
            <Columns>
                <asp:CommandField ButtonType="Image" 
                    SelectImageUrl="~/images/check14x13_blue.png" ShowSelectButton="True" />
                <asp:BoundField DataField="sexo" HeaderText="SX" />
                <asp:BoundField DataField="ClaveSNLA" HeaderText="Clave" />
                <asp:BoundField DataField="nombre" HeaderText="nombre" />
            </Columns>
        </asp:GridView>
        <asp:Label ID="lblResultado1" runat="server" Text="Label"></asp:Label>
        <br />
        <asp:Label ID="lblResultado2" runat="server" Text="Label"></asp:Label>
        <br />
        <asp:Label ID="lblResultado3" runat="server" Text="Label"></asp:Label>
        <br />
    
    </div>
    </form>
</body>
</html>
